package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixServiceFallBack implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentHystrixServiceFallBack 服务降级了！方法名：paymentInfo_OK() id=" + id;
    }

    @Override
    public String payment_Timeout(Integer id) {
        return "PaymentHystrixServiceFallBack 服务降级了！方法名：payment_Timeout() id=" + id;
    }
}
